//
//  NSString+TextStringToSize.h
//  搭建框架(代码已封装)
//
//  Created by My Mac on 2017/2/3.
//  Copyright © 2017年 My Mac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface NSString (TextStringToSize)
//对象方法
-(CGSize)sizeOfTextMaxSize:(CGSize)maxSize font:(UIFont *)font;

//类方法
+(CGSize)sizeWithText:(NSString *)text maxSize:(CGSize)maxSize font:(UIFont *)font;
@end
